APP_TITLE = "ROI Monitor"

# 圖表尺寸
CHART_WIDTH = 480
CHART_HEIGHT = 400

# 預覽尺寸
RAW_WIDTH = 420
RAW_HEIGHT = 263

# 圖像尺寸
FRAME_WIDTH = 1280
FRAME_HEIGHT = 800

# 初始ROI
INIT_ROI = 0
# 初始ROI寬度
INIT_ROI_WIDTH = 10
# 初始Exp
INIT_BRIGHTNESS = 20
# 初始Gain
INIT_GAIN = 1
# 初始range start
INIT_RANGE_START = 5
INIT_RANGE_END = 30
# 最大range
MAX_RANGE = 100

# 更新間隔0.05秒
UPDATE_DELAY = 50
# 搜索ROI間隔
SEARCH_ROI_DELAY = 200
# 自動調整間隔
AUTO_DETECT_DELAY = 100

# 默認自動調整中心位置
AUTO_DETECT_CENTER = 3700
# 默認自動調整範圍
AUTO_DETECT_OFFSET = 200

# 最大Exp
MAX_BRIGHTNESS = 800
# 最大Gain
MAX_GAIN = 32

# 默認芯片ID
DEFAULT_CHIP_ID = "AR0144"